package com.example.blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("send_homework")
public class SendHomeWork {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;//提交用户id
    private Integer homeworkId;//被提交任务id
    private String text;
    private String nickname;//提交用户昵称
    private String headerUrl;
    private Date createTime;
    private String valuation;//评语
    private int score;

    private String subject;
}
